package com.tuyrt.windy.logic.network

import com.tuyrt.windy.common.AppConfig
import com.tuyrt.windy.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by tuyrt7 on 2021/4/14.
 */
interface PlaceService {

    @GET("v2/place?token=${AppConfig.TOKEN}}&lang=zh_CN")
    fun searchPlaces(@Query("query") query: String): Call<PlaceResponse>

}